/**
 * 
 * Copyright (C) 2015 by Elcom Software Company
 *
 * @id: ITask.java, Mar 13, 2015
 *
 */
package com.nip.commons.job.interf;

/**
 * @author ThangNM<thangnm@elcom.com.vn>
 *
 * @version v
 */
public interface IJob {

    void setSchedule(IJobSchedule schedule);
    
    void execute();
    
    void notify(IJobTime time);
    
    void notify(IJobTime time,boolean isExecute);
}
